douban / linguist

Language Savant, Python clone of github/linguist.
Other
154 stars 37 forks source link

Using guess_lexer_for_filename() in Pygments for detection of language #24

Open amalmurali47 opened 6 years ago

amalmurali47 commented 6 years ago

Why are we not using guess_lexer_for_filename() or guess_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.

MankaranSingh commented 4 years ago

Speed of execution matters.