koenichiwa

Results 19 comments of koenichiwa

>I wonder about the performance overhead of creating so many DateTime copies. I notice that DateTime implements Copy, so it's probably not too bad. At most this will be 7...

I was looking into merging the functions and making a `query` function with a direction argument. But it's not looking prettier. I'm starting to doubt if I should merge these...

> At most this will be 7 * 7 copies of a 32 bit integer. DateTime ~also~ implements ~clone~ copy, so it's can basically get copied bit for bit. I...

I think because it needs to retain 7 copies of each datetime due to iter::repeat. I might be able to find a solution with raw ordinals, but I'm putting that...

Of course the unwrap statements in the function implementation should be changed. The signature would also have to change as follows: ```rust pub enum QueryDirection { Next, Previous, } fn...

#80 is now a working draft. The two functions aren't merged yet, but it does clean up a bit of code as it stands. Queries.rs is deleted and there is...

Hi thanks for the fast reply! > I'm not very familiar with the conda environment I only used it to create an environment with python 3.11 and pip, so that...

Ah 1.0.1 throws the following, similar error over a different .so file ``` 2023-09-16 01:05:50.207620: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to...

I think it might've been an XY problem. I'm still hoping for the explanation regarding safety though. Just out of curiosity. Maybe you have an even better solution. I solved...