I'm not sure if this would be useful to you, but, as part of writing my 
tzgeolookup package, I wrote a blog post exploring the performance of 
different ways in which the underlying data is organized.  As a result of 
that, I have a repository with 10 variants of the same program using 
different strategies, and these programs are all instrumented, so running 
them will run a test suite and print out the time taken by each procedure.  
You could implement a variant using transducers and compare it with all the 
others.

The repository is here: https://github.com/alex-hhh/time-zone-lookup-tests, 
and the blog post explains how the hole thing works:  
https://alex-hhh.github.io/2019/08/timezone-lookup.html

The final package uses vectors, so I am not sure that would be useful in 
converting it to transducers, but if you want to look at it, it is here: 
https://github.com/alex-hhh/tzgeolookup

Alex.



On Friday, November 15, 2019 at 3:18:23 PM UTC+8, Jack Firth wrote:
>
> Hello all! I'd like to get Rebellion's 
> <https://docs.racket-lang.org/rebellion/> transducer 
> <https://docs.racket-lang.org/rebellion/Transducers.html> and reducer 
> <https://docs.racket-lang.org/rebellion/Reducers.html> libraries up to 
> feature parity with Racket's ordinary list-processing functions. So I'm 
> looking for people interested in migrating some of their open-source Racket 
> code to use transducers instead of using map / filter / fold / append-map / 
> etc. Even just pointing me to some of your code on GitHub that does list 
> processing would be a great help, since I could attempt to migrate it 
> myself and see if there's any functionality I'm missing that stands in the 
> way of migrating. Huge bonus points if your code has benchmarks I can run, 
> so I can compare the performance of manual list processing v.s. Rebellion 
> stream processing v.s. optimized for loops.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/5df506a6-fa4c-4fa9-8897-998aa8d249a1%40googlegroups.com.

Reply via email to