mirror of
https://github.com/javalsai/aoc.git
synced 2026-01-13 01:19:59 +01:00
add: d02, optimizations might come later
will namely add a numberic based algorithm, maybe even the stack .to_string() is too slow also might not do it, grialion already optimized tf out of it
This commit is contained in:
@@ -179,9 +179,9 @@ pub mod loader {
|
||||
// SAFETY: This is actually safe as it just creates the fn ptr, no weird fn with weird
|
||||
// drop.
|
||||
untry!(unsafe { handle.symfn::<C<isize>>(c"challenge_isize") }.map(V::Isize));
|
||||
untry!(unsafe { handle.symfn::<C<usize>>(c"challenge_isize") }.map(V::Usize));
|
||||
untry!(unsafe { handle.symfn::<C<usize>>(c"challenge_usize") }.map(V::Usize));
|
||||
untry!(unsafe { handle.symfn::<C<(usize, usize)>>(c"challenge_isize_duple") }.map(V::UsizeDuple));
|
||||
untry!(unsafe { handle.symfn::<C<(isize, isize)>>(c"challenge_isize_duple") }.map(V::IsizeDuple));
|
||||
untry!(unsafe { handle.symfn::<C<(isize, isize)>>(c"challenge_usize_duple") }.map(V::IsizeDuple));
|
||||
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user