Open amalmurali47 opened 6 years ago
Why are we not using guess_lexer_for_filename() or guess_lexer() that's already available in Pygments for language-detection?
guess_lexer_for_filename()
guess_lexer()
I'm trying to understand if there's any added advantage of having the same thing rewritten in the codebase.
Speed of execution matters.
Why are we not using
guess_lexer_for_filename()
orguess_lexer()
that's already available in Pygments for language-detection?I'm trying to understand if there's any added advantage of having the same thing rewritten in the codebase.