Remove c
article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

Caching them at the other end: How long should we cache files on a user’s device? Concatenate Concatenation is probably the trickiest bit to get right because, even though the three C s happen in order, decisions we make later will influence decisions we make back here. Cache This is the easy one. That’s almost 22× more!

Cache 291
article thumbnail

cppfront: Autumn update

Sutter's Mill

Started self-hosting I haven’t spent a lot of time yet converting cppfront’s own code from today’s syntax 1 to my alternate syntax 2 (which I’m calling “Cpp1” and “Cpp2” for short), but I started with all of cppfront’s reflection API and metafunctions which are now mostly written in Cpp2.

C++ 89
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Fundamentals of Table Expressions, Part 12 – Inline Table-Valued Functions

SQL Performance

I also compare them with stored procedures, mainly focusing on differences in terms of default optimization strategy, and plan caching and reuse behavior. In my examples I’ll use a sample database called TSQLV5. An Example. GetTopCustOrders ( 1 , 3 ) ; I’ll refer to this example as Query 1. iTVFs vs.

Cache 144
article thumbnail

Additional C/C++ Tooling

Nick Desaulniers

21st Century C by Ben Klemens. There are a few other useful tools that came to mind that I’ve used when working with C and C++ codebases. C & C++ codebases; running these tools on the code or adding them to the codebases. Code Formatters. with lots of C++ code have documents.

C++ 75
article thumbnail

PostgreSQL Upgrade: Tricks With OID Columns and Extensions

Percona

In this blog, we will upgrade PG10, which has tables with OID columns and some extensions to PG13, as an example, using the native pg_upgrade utility. oid_test" SET WITHOUT OIDS; ALTER TABLE postgres=# c abs_test You are now connected to database "abs_test" as user "postgres". craft" SET WITHOUT OIDS; ALTER TABLE "public"."ports"

C++ 104
article thumbnail

Understanding Weak Reference In JavaScript

Smashing Magazine

The output of the code above would be the following: WeakMap {{…} => 'done'} man = null; console.log(human). The object is retained in memory and can be accessed with the following code: console.log(human[0]). let human = new WeakMap(): // Create an object, and assign it to a variable called man. It keeps the object in memory.

Cache 116
article thumbnail

New Bit Manipulation Functions in SQL Server 2022

SQL Performance

One example is using a bitwise representation of a set of user/role permissions. Another example is using a bitwise representation of a set of settings turned on or off in a given environment. For example, the ARITHABORT session option is represented by bit offset 6 in the bitmap returned by the @@options function.

Servers 122