home/roleplay/optimize-function

Optimize Function

GPTClaudeGemini··452 copies·updated 2026-07-14
optimize-function.prompt
Optimize this function to its essential operational semantics. Output ONLY the lossless compressed representation.

CODE:
{sourceCode}

FUNCTION: {symbolName}

OUTPUT: Single technical statement capturing core algorithmic behavior and data transformation.

fill the variables

This prompt has 2 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{sourceCode}{symbolName}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo holo-q/thaum (no explicit license). A "Optimize Function" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

holo-q/thaum · no explicit license