Welcome to Windsor & Essex County Freedom's forum...
Break the Facebook addiction, avoid A.I. slop, scams, and online drama.
[WEFreedom.SubMatrix.net] focuses on local community political
ACTION + COMMUNICATIONS + ORGANIZING
for Windsor, Essex County, and beyond, with minimal drama.
== Priorities of this [SubMatrix.net] community ==
- alternatives, solutions, trade-offs
- autonomy, critical-thinking, mutual-respect, truth-seeking
- local news, processing info, producing media
(print, video, web, etc.), sharing & outreach - projects of all sorts (research, plan, execute, distribute, resolve)
== Online features include ==
- this [SubMatrix.net] forum to post and comment
- [Chat] and private chats with individuals or custom groups
- [messages] and private messages
- [Gvid.TV] video library
- [Img.Gvid.TV] image bank
- [Projex.Wiki] interactive documentation
- more
Also find lots about us, our calendar of events, organizing,
more information, and resources on the wiki anyone may join...
== Announcements ==
- WEFreedom has a new forum!
== Urgent ==
- 2026-06-29 Mon - City Hall
We need to audit (sit in), take notes, process, develop action, publish.
== Calendar ==
- 2026-06-27 Sat - Banwell Church car wash to raise lunch money for Marlborough School
- 2026-06-28 Sun - Canadian Fiesta! monthly soirée
- 2026-07-01 Wed - Canada Day
Every 2nd & 4th Wednesday, 7pm @ The Lions' Den
== Classifieds ==
Local folks and businesses need local support.
(more soon)
== Recommended ==
- /s/ArtificialIntelligence
- /s/Canada
- /s/Controligarchy
- /s/Health
- /s/PoliticalAnalysis
- /s/VaccineSkepticism
- /s/Voluntaryism
- /s/WEFreedom
- /s/Windsor
- /s/Zionism
== Questions? ==
If you have questions contact
- [FAQ] (frequently asked questions)
- JasonCarswell (aka Santa Libertas)
- x0x7 (genius-coder and admin-extraordinaire)
== WEFreedom folks ==
WEFreedom folks can see who has joined this forum,
encourage more participation, and connect here.
[User list goes here.]
== Critical concepts ==
Agora (Greek) is an open place for markets and people to assemble for
various purposes, like a town square.
Agorism
- Social philosophy advocating creating a society with voluntary
exchanges and relations between people via aspects of
counter-economics and nonviolent revolution.
Do-ocracy
- An organizational structure in which individuals choose roles and
tasks for themselves and execute them wherein responsibilities attach
to people who do the work, rather than elected or selected officials. - http://Projex.Wiki/wiki/Do-ocracy
FOEPATCHISM
- Fair, Open, Ethical, Peaceful, Accountable, Transparent, Consistent,
Honest, Inclusive Social Management - for collaborators, communities,
families, governments, groups, homes, organizations, social media,
societies, teams, workplaces, etc. "Foe" = enemy; "patch" = correction. - http://Projex.Wiki/wiki/FOEPATCHISM
Libertas = autonomy, freedom, sovereignty.
Phylaxis
- (medical) The protection against infection.
- (defensive) Guarding against cultural destruction, cyber warfare,
ideological subversion, malicious infiltration, medical tyranny,
political corruption, psychological operations, wealth theft, and
weaponized migration.
Voluntaryism
- Peaceful life without rulers, yet with social rules.
- The common sense idea that all forms of human association should be voluntary...
with the assertion that any act of violence [or coercion] other than self defense,
whether by an individual or organization, is illegitimate and unlawful. - Voluntary interactions - without rulers rather than supporting and suffering
under mafia governments and corporatocracy's monopoly on violence.
This includes what consenting adults do in the privacy of their own wallets,
bedrooms, bodies, businesses, and communities. - http://Projex.Wiki/wiki/Meaningful_liberty#Voluntaryism






Google Gemini answer in C.
#include <stdio.h>
#include <stdlib.h>
#define INITIAL_CAPACITY 1024
// Structure to cache Fibonacci values for fast lookup and to handle large 'n'
typedef struct {
long long *data;
int size;
int capacity;
} FibCache;
// Initialize the Fibonacci cache with F(0) = 0 and F(1) = 1
FibCache* create_fib_cache() {
FibCache *cache = (FibCache *)malloc(sizeof(FibCache));
cache->capacity = INITIAL_CAPACITY;
cache->size = 2;
cache->data = (long long *)malloc(cache->capacity * sizeof(long long));
cache->data[0] = 0;
cache->data[1] = 1;
return cache;
}
// Retrieve or compute the nth Fibonacci number efficiently
long long get_fibonacci(FibCache *cache, int n) {
if (n < 0) return 0; // Guard for invalid negative inputs
}
void free_fib_cache(FibCache *cache) {
if (cache) {
free(cache->data);
free(cache);
}
}
int main(void) {
FILE *input_stream = NULL;
}
Scoring:
The program was compiled with
clang -o index index.c -O4 --march=nativeThe program managed to take an input of 10 and took 0.002s to complete
Attempting higher powers of 10 lead to inaccurate results from overflow errors
Completing 30 random numbers ranging from 1-10 took 0m0.002s
This had a peak memory usage of 262144 bytes.
Final score: 524bs
But because it only managed to calculate up to F(10) it's in third place. Thank goodness AI isn't beating real programmers yet.
Thanks for setting this up! Here's my solution in Rust:
Unfortunately, the basic idea I came up with turned out to be the same as x0x7 (computation using multiplication). But, it seems that Rust with rug is quite a bit faster than Ruby. So, I was able to reach 100M within 2.87 seconds on my machine. I did come up with an optimization for the second round to reduce the amount of Fibonacci numbers computed. Instead of the half points, the closest power of 2 is used as a reference point. In my testing, this brought the time down from 14.89 to 8.95 seconds. At that point, printing 20MB to the terminal already takes a long time, so I did my tests with stdout redirected.
I didn't use AI/LLM tools.
Code:
Cargo.toml:
Cool. Give me a second to get this scored.
It handled an input value of 10000000 in 0.332s
The list of 30 values between 1000000-10000000 took 1.317s
Peek memory usage was 42401792 bytes
Final score: 53Mbs
Now I need to rescore mine because I improved the setup. Barring some huge surprise with that, I think you're winning unless someone else comes along.
Neat. It seems like our two halving implementations would've taken almost exactly the same amount of time.
I was playing around a bit with Rust parallelism to improve my solution but I didn't get anything to work well (turns out the async runtimes I used both only ran on a single thread...). But there's certainly some room for improvement there in case someone wants to try :)
Cool
Here is my solution. I came up with this speedup myself. Code below.
I noticed that when you manually expand Fibonacci that Fibonacci numbers show up in the coefficients. The deeper you do it the more steps you can skip. It could be generalized. An arbitrary n value can be chosen representing how many expansions and simplifications are done, and you can pick an n value that minimizes the inputs of the next wave.
The fact that each Fibonacci call branches to four sub-calls is mitigated by memoization and the fact that we are scaling down n rather quickly.
I have ideas for how it could be done better. But I wanted to get a solution in.
I suppose I need to score my own. It managed to handle an input value of 10000000 and responded in 0.821s. But the program will explode past that. Running it with 30 random numbers between 1000000-10000000 took 4.666s. I'll have it's memory score in just a second...
According to cgroups it had a peak memory of 81326080 bytes. Final score 362Mbs.
This is the integer it produced. https://submatrix.net/z/fib/result.txt
Edit: Results from better scoring method (and changing to the correct device). Same as used on @stuner's Rust implementation
It handled an input value of 1000000 in 0.360s
The list of 30 values between 1000000-10000000 took 2.114s
Peak memory usage was 115412992 bytes
Final score: 233Mbs