Skip to content

Repository files navigation

LineCnt is a simple optimized .NET Command Line tool for calculating code line count in your project. WIP, is functional but not fully-featured, has a few ugly functions.

What can be added:

  • Simple mode for fastest calculation (one fs request with one wildcard followed by parallel file read with maybe only the size filter)
  • Custom hashing algorithm for filter strings: File extension max length is 255 characters, so maybe some smaller hashmap can speed it up a bit
  • Premade hashset vs calculated on run hashset for known extensions (\Database is currently unused)
  • Arg parsing could use a better system
  • Using cached modification date for -i

Arg suggestions:

  • depth
  • -i for index, -is for index shallow

Arch suggestions:

  1. Currently paralellizing each directory, sequentially reading files inside.
    Maybe it should be the other way around, but then there would be a larger cost for synchronizing within the directory & in case of lots of small files OR a ton of garbage generated by the task if it's accumulating own array.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages