Skip to content

Instantly share code, notes, and snippets.

@lin72h
lin72h / speedup_house_price.md
Created January 2, 2024 01:19 — forked from gingerwizard/speedup_house_price.md
Approach to speed up GROUP BY on house prices

How to Speed up UK Prices GROUP BY

Credit to Vadim Punski for this approach.

Note: timing here is on a Postgres instance hosted on a MacBook Pro (16-inch, 2021). Not Supabase free tier.

Original query from blog:

Objective-C implementations in Swift

  • Proposal: SE-NNNN
  • Authors: Becca Royal-Gordon
  • Review Manager: TBD
  • Status: Awaiting implementation (but only of the final attribute name)
  • Implementation: Preliminary version in main, as @_objcImplementation

Introduction

@lin72h
lin72h / crc64_up_to_191_bits.cpp
Created June 23, 2022 02:02 — forked from davezarzycki/crc64_up_to_191_bits.cpp
CRC examples with poly: 0x(1)E691A23E28619DF3
// Copyright (c) 2022 David Zarzycki
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in