The Go version was getting about a 25x speedup when using
FindSequencesOnDisk (which makes use of all of the other facilities) . The
parsing and string building of the paths, frame ranges, and results are
faster. I reuse buffers instead of constantly allocating new strings. Also
the find operation is concurrent.
An example was that my co-worker was using the python version to drive a
graphical file sequence browser. He saw that massively apparent speedup in
the interface when he switched to the Go version.

On Tue, 16 Dec 2014 1:54 AM Marcus Ottosson <[email protected]> wrote:

> I haven't used the Python library, but what would be the advantage(s) of a
> Go version compared with the Python version?
>
> On 13 December 2014 at 22:31, Justin Israel <[email protected]>
> wrote:
>
>> Hey all,
>>
>> This isn't directly python related, but I thought I would share anyways.
>> If anyone has been using the python library fileseq
>> <https://pypi.python.org/pypi/Fileseq/0.5.1>, which I help maintain, to
>> work with file sequence and frame range patterns, I've built a tool around
>> this functionality (kind of similar to rvls).
>>
>> gofileseq <https://github.com/justinfx/gofileseq> is a port of fileseq,
>> to the Go language. Included in this repo is a utility called seqls
>> <https://github.com/justinfx/gofileseq/tree/master/cmd/seqls>, which
>> uses gofileseq to provide a way to list files on the filesystem that are
>> rolled up into sequence formats. So far it can do short and long listings,
>> rolling up the file sizes and showing the latest mod time. I've cross
>> compiled it for win/linux/osx
>> <https://bintray.com/justinfx/utils/seqls/_latestVersion>
>>
>> If you find it useful or have suggestions, please let me know! Also feel
>> free to register issues for it on github if needed. I develop on osx and
>> linux, so I have only briefly tested it on windows..
>>
>> Enjoy!
>>
>
>> Justin
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2KpONX8cs9%3Df%2B4zzQx11yo1e7qV09bNTrT9zwudEfTRA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2KpONX8cs9%3Df%2B4zzQx11yo1e7qV09bNTrT9zwudEfTRA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> *Marcus Ottosson*
> [email protected]
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODiTWjOJ3jm2pH5RN-CKSqoAvpQ6kghL4ja752PMiXoQQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODiTWjOJ3jm2pH5RN-CKSqoAvpQ6kghL4ja752PMiXoQQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XKJy%2BWS4V5nPr53t8x%3D%3D2eTdULbvuzF_XGihM2Q1-GQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to