On 27 October 2016 at 07:11, oscar6echo <[email protected]> wrote:
> 3/
> %%time
> for e in os.listdir('.'):
> os.path.isdir(e)
> print(e)
>
> --> 1.03s
>
> Much longer !
>
I've had a go at improving our directory listing code without scandir, just
writing it more carefully to avoid unnecessary operations. Can you have a
go with this PR:
https://github.com/jupyter/notebook/pull/1854
It won't make it fast, but I hope it will bring your case under 5 seconds.
Thomas
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/CAOvn4qiZ6TTDxBmriPnQCwbUyxH%2BONVuQJKtTcm_u1VPy0DfrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.