Even faster (avoiding some string allocations)
import memfiles
for line in memSlices(memfiles.open("foo")):
inc(i)
- Fastest way to count number of lines alfrednewman
- Re: Fastest way to count number of lines cblake
- Re: Fastest way to count number of lines jlp765
- Re: Fastest way to count number of lines cblake
- Re: Fastest way to count number of lines Stefan_Salewski
- Re: Fastest way to count number of l... alfrednewman
- Re: Fastest way to count number ... Stefan_Salewski
- Re: Fastest way to count num... cblake
- Re: Fastest way to count num... jlp765
- Re: Fastest way to count num... cblake
- Re: Fastest way to count num... alfrednewman
- Re: Fastest way to count num... boia01
- Re: Fastest way to count num... cblake
