Bash-completion is very slow on MSYS2 when the current user is a domain user. This describes the cause and the solutions.
Expansion of ~*
is very slow when you use a domain user. For example:
local old_draw = love.graphics.draw | |
local monkey_draw = function(im, ...) | |
if fudge.current and type(im)=="string" then | |
--Get associate and draw it | |
local fud = fudge.current:getPiece(im) | |
old_draw(fud.img, fud.quad, ...) | |
elseif type(im)=="table" and im.img and im.quad then | |
old_draw(im.img, im.quad, ...) | |
elseif type(im)=="table" and im.batch then | |
old_draw(im.batch) |
{-# LANGUAGE GADTs #-} | |
module Yolo where | |
import System.IO.Unsafe | |
class Yolo f where | |
yolo :: f a -> a | |
instance Yolo Maybe where | |
yolo (Just x) = x |