This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::fmt::Debug; | |
use std::io::{stdout, Write}; | |
use std::{collections::HashMap, env, fs, io, time::Instant}; | |
#[derive(Debug)] | |
struct FuzzyNode<T> | |
where | |
T: Clone, | |
{ | |
value: Option<(String, T)>, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
struct LinkedList | |
{ | |
void *value; | |
struct LinkedList *next; | |
}; | |
struct LinkedList *linked_list_new() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ConversionUtility | |
Copyright (C) 2021 WorldOneo | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mymodule | |
import random | |
import time | |
""" | |
This is a test for the usecase of C++ integration in python programms. | |
For small function calls python doesn't gain as much from C++. | |
But if you keep your entire load in the C++ side, like NumPy, it is much faster. | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <termios.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <time.h> | |
#include <sys/types.h> | |
#include <sys/ioctl.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goos: windows | |
goarch: amd64 | |
pkg: github.com/worldOneo/LilMonk | |
cpu: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | |
Benchmark_lilmonkdb_composite-12 218 7838672 ns/op 2308182 B/op 5140 allocs/op | |
PASS | |
ok github.com/worldOneo/LilMonk 2.359s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<program> | |
<import> | |
<lib>fmt</lib> | |
</import> | |
<function name="main"> | |
<define name="i">0</define> | |
<while condition="i < 100"> | |
<call function="fmt.Printf"><arg>"Hello, %d \n"</arg><arg>i</arg></call> | |
<set name="i">i + 1</set> |
NewerOlder