asonix

Results 136 comments of asonix

Here's a backtrace when I stop to inspect the current operations: ``` #0 0x00007ffff74c6fb0 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0 #1 0x00007ffff74b829c in () at /lib/x86_64-linux-gnu/libgtk-3.so.0 #2 0x00007ffff74b839e in () at /lib/x86_64-linux-gnu/libgtk-3.so.0...

For context, after commenting out this line: https://github.com/elementary/photos/blob/073f5a8351fe4eca5543622805fced24c4287ef5/src/events/Branch.vala#L37 I can launch photos in 6 seconds

This doesn't seem to change the time it takes for the reorder to complete on my laptop. I tried comparing this branch to master and didn't notice a difference

Hey there! As someone mentioned here, I have a requirement for any consolidation work on this front. I haven't looked at each of these options so I can't speak for...

I also think that maybe moving to _just_ an Extractor would be a better idea than my current api, which is a combination Middleware + Extractor. Maybe I'll play with...

@JSH32 fwiw the proc-macro "extract into this struct" method is really nice, and ideally that would be the final API. Maybe if there was an annotation you could put on...

@JSH32 that doesn't quite work, because you need to process each field in order. If you embed a file stream directly into a struct for processing later, you don't read...

Saving to temporary files solves the problem for a number of use-cases, but prevents creating a pure "file proxy" implementation, which could stream files in-line to some other service. It...

This `FromStream` trait could be implemented for `PathBuf` (or maybe a custom TemporaryPathbuf) that would stream the files onto a disk and return their path in the deserialized struct

pict-rs does not support resizing on upload (only on fetch)... but maybe it could 👀