FStarLang / fstar-mode.el

Emacs support for F*

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

F* mode considerable slow down on large files commented using //

beurdouche opened this issue · comments

When commenting with the recent // syntax change, my emacs gets a huge slow down.
This was not the case before with the (* *) style of comments :)

Hi @beurdouche,

Can you give a concrete example? I haven't noticed the slowdown here :)

Thanks!

Hey @cpitclaudel !
As an example, you can take /opt/hacl-star/code/hash/Hacl.Hash.SHA2_512.fst, comment the file and then try to navigate in it... This is super slow in my setting :)

Thanks! Will look into it soon.

Ok, I pushed a tentative fix.

Please try it and let me know

Cool ! Will test, Thanks a lot !