Skip to content

Instantly share code, notes, and snippets.

@georgepsarakis
georgepsarakis / parallel-merge-sort.py
Last active November 6, 2020 12:56
Parallel Merge Sort - Example Code & Benchmark
from __future__ import print_function
import random
import sys
import time
from contextlib import contextmanager
from multiprocessing import Manager, Pool
class Timer(object):
"""
@georgepsarakis
georgepsarakis / benchmark_test.go
Last active November 16, 2025 17:54
Efficient Invalid JWT Mark & Detect using expiring Bloom Filters
package main
import (
"context"
"errors"
"fmt"
"testing"
"time"
"github.com/golang-jwt/jwt/v5"